﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ListaViaturas.aspx.cs" Inherits="EasyFrota_Mobile.ListaViaturas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:HiddenField ID="hf_kit" runat="server" />
    <asp:HiddenField ID="hf_tipo" runat="server" />
    <asp:HiddenField ID="hf_Empresa" runat="server" />
    <div data-role="collapsible" id="Filtros">
         <h4>Filtro</h4>
        <table data-role="table" id="table_filtro" data-mode="reflow" class="ui-responsive table-stroke">
            <thead>
                <tr>
                    <th data-priority="1">Kit</th>
                    <th>Tipo</th>
                    <th data-priority="2">Empresa</th>
       
                </tr>
            </thead>
    
            <tbody>
                <tr>
                    <td>
                    
                        <asp:DropDownList ID="dropdownKit" runat="server" data-native-menu="false">
                            <asp:ListItem Value="-1">Todos</asp:ListItem>
                            <asp:ListItem Value="1">Sim</asp:ListItem>
                            <asp:ListItem Value="0">Não</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:DropDownList ID="dropdownTipo" runat="server" data-native-menu="false" >
                        </asp:DropDownList>
                    </td>
                   
                    <td>
                        <asp:DropDownList ID="dropdownEmpresa" runat="server" data-native-menu="false">
                        </asp:DropDownList>
                    </td>
                   
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="Filtrar" 
                            onclick="Button1_Click" />
                    </td>


                </tr>
            </tbody>
        </table>
    </div>
        
    <table data-role="table" id="tabela_viaturas" data-mode="reflow" class="ui-responsive table-stroke">
        <thead>
            <tr>
                  <th></th>
                <th data-priority="1">Matricula</th>
               <th data-priority="3">Modelo</th>
                <th data-priority="2">Marca</th>
                <th data-priority="4">Condutor</th>
                  <th data-priority="5">Estado</th>
            </tr>
        </thead>
    
        <tbody>
            <asp:Literal ID="listVia" runat="server"></asp:Literal>

        </tbody>
    </table>
    


</asp:Content>